home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / bbs / develop.zip / FLIST.DOC < prev    next >
Text File  |  1994-09-16  |  2KB  |  35 lines

  1. The following is the format of the FLIST.### file.
  2.  
  3. There is one record for each file in the FLIST.### file, with each record
  4. having the structure outlined below.  Both uploads and downloads go into the
  5. same file.  The file is erased before starting to add names into the
  6. upload list.  The file is appended to if download names are already in the
  7. list and the caller is adding more files to the list.
  8.  
  9. #define bool char
  10. typedef enum {FAILED=0,UPOKAY,DNOKAY,REMOVE} trntype;
  11. typedef enum {NOTCAP,MSGCAP,QWKCAP} captype;
  12.  
  13. typedef struct {
  14.   char    FullPath[66];      /* full path and filename   */
  15.   char    Name[13];          /* just the filename        */
  16.   long    Size;              /* size of the file         */
  17.   long    Seconds;           /* seconds to xfer file     */
  18.   int     CPS;               /* cps rate after xfer      */
  19.   trntype Success;           /* see above types          */
  20.   bool    HasDesc;           /* true if u/l has desc     */
  21.   bool    Checked;           /* true if d/l fsec checked */
  22.   bool    Found;             /* true if file exists      */
  23.   bool    FsecOkay;          /* true if d/l fsec passed  */
  24.   bool    Free;              /* true if free bytes       */
  25.   bool    NoTime;            /* true if free time        */
  26.   bool    MovedToWork;       /* true if moved to workdir */
  27.   bool    Failed;            /* true if failed u/l test  */
  28.   char    OldName[13];       /* old name before workdir  */
  29.   bool    Duplicate;         /* true if u/l name is dupe */
  30.   captype CapType;           /* see above types          */
  31.   int     Multiplier;        /* acct charge multiplier   */
  32.   bool    NoCost;            /* true if acct charge=0    */
  33.   char    Reserved[11];      /* do not use!              */
  34. } spectype;
  35.